package com.hanson.mapper;

import com.hanson.entity.WeiXinNotifyBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WeiXinNotifyBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WeiXinNotifyBean record);

    WeiXinNotifyBean selectByPrimaryKey(Integer id);

    List<WeiXinNotifyBean> selectAll();

    int updateByPrimaryKey(WeiXinNotifyBean record);

    List<WeiXinNotifyBean> selectByOrderSeq(@Param("orderSeq") String orderSeq);

    List<WeiXinNotifyBean> selectByOpenId(@Param("openId") String openId);

    Integer selectFee(@Param("type") int type);
}